<!-- 
  @name: 加载时底部提示语
  @date: 2020.2.14
 -->
<template>
	<view class="btm-load">
		<view class="__line"></view>
		<text class="__text" v-show="isLoad">加载中</text>
		<text class="__text" v-show="!isLoad">暂无更多数据</text>
		<view class="__line"></view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				token: ''  //用于展示不同的提示语
			}
		},
		computed: {
			isLoad() {
				return this.$store.state.btmLoad;
			}
		},
		methods: {
			
		}
	}
</script>

<style lang="scss" scoped>
	.btm-load {
		width: 100%;
		padding: 50rpx;
		padding-bottom: 35rpx;
		display: flex;
		flex-direction: row;
		align-items: center;
		justify-content: center;
		.__line {
			width: 22rpx;
			height: 1rpx;
			border-top: 1rpx solid $color-grey;
		}
		.__text {
			font-size: 24rpx;
			color: $color-grey;
			margin-left: 20rpx;
			margin-right: 20rpx;
		}
	}
</style>